ExamPlay Light Logo
Войти

Computer Science for IGCSE & O level - Programming (Section 15 - No. 22)

In the calculation example: `Calculate Number1 + Number2 * Number3;`, what operation will be performed first, according to the rules of precedence?
Number1 + Number2
Number2 * Number3
The entire expression will result in an error.
The order will depend on the compiler used.

Объяснение

Multiplication is performed before addition in typical operator precedence rules.

Комментарии (0)

Войдите, чтобы оставить комментарий
Реклама
BrainBehindX Inc Logo
©2026; Питаться от BrainBehindX Inc